<%
//主页
layout("/inc/layout.html",{
title:'智慧洛龙',
keywords:'智慧洛龙',
description:'智慧洛龙',
style:'index.css'
}){
%>

 <!--网站导航菜单-->
 <% include("/inc/nav_menu.html"){} %> 
<section class="container">
	<div class="panel panel-info">
		<div class="panel-body">
			<div class="row mt15">
				<div class="col-sm-2">
					<div class="list-group user-left-menu">
						<a href="/bmfw/index" class="list-group-item ${mainId==null?'active'}?'active'}">
							 <h3>所有分类</h3>
						</a>
						<% if(isNotEmpty(mainList)){ for(main in mainList){ %>
						<a href="/bmfw/index" class="list-group-item   ${mainId!=null&&mainId==main.id?'active'}  "> ${main.title!} </a>
					   <%}}%>
					</div>
				</div>


				 <div class="col-sm-10" warn="2">
					 <h1 class="alert alert-warning">便民应用</h1>
					 <% if(isNotEmpty(list)){ for(item in list){ %>

					 <a href="/bmfw/detail/${item.id}" style="text-decoration: none;" warn="1">
						 <div class="col-xs-6">
							 <h5 class="alert alert-info"> ${item.title!}</h5>
						 </div>
					 </a>
					 <%}}else{%>
					 <div class="media">
						 <div class="text">暂时无相关办理事项</div>
					 </div>
					 <%}%>
				 </div>




			</div>
		</div>
	</div>
</section>



<% } %>
<script>
	require(['modules/index'], function (index) {
		index.bmfw();
	});

</script>
</body>
</html>